﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Northwinddemo.DAL.EntityClasses;
using MvcContrib.Pagination;

namespace Northwinddemo.BusinessLayer.Models.ViewModels
{
    public class ProductsViewModel
    {
        public IPagination<ProductsEntity> Products { get; private set; }
        public string Search { get; private set; }

        public ProductsViewModel(IPagination<ProductsEntity> products, string search)
        {
            this.Products = products;
            this.Search = search;
        }
    }
}
